package com.ihisun.tmhcms.security.securityservice.impl;

import com.ihisun.tmhcms.security.securitdao.SysUserDao;
import com.ihisun.tmhcms.security.securityservice.SysUserService;
import com.ihisun.tmhcms.security.entity.SysUserEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class SysUserServiceImpl implements SysUserService {
    @Resource
    private SysUserDao sysUserDao;
    @Override
    public SysUserEntity selectUserByName(String phone) {
        return sysUserDao.findByPhone(phone);
    }


}
